<?php /* Smarty version 2.6.18, created on 2007-07-29 13:46:32
         compiled from index.tpl */ ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!--

Design by Free CSS Templates
http://www.freecsstemplates.org
Released for free under a Creative Commons Attribution 2.5 License

Title      : Simpletex
Version    : 1.0
Released   : 20070725
Description: A two-column, fixed-width template with light color blend.

Modified for Mukei Administrative System Plugin by Kevin Herrera.

-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title><?php echo $this->_tpl_vars['page_title']; ?>
 - Admin - Mukei</title>
<link href="<?php echo $this->_tpl_vars['template_url']; ?>
default.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="header">
    <div id="logo">
        <h1><a href="<?php echo $this->_tpl_vars['admin_url']; ?>
"><?php echo $this->_tpl_vars['short_title']; ?>
</a></h1>
        <h2><a href="http://www.mukei.org/" target="_blank">Powered by Mukei</a></h2>
    </div>
    <div id="search">
        Welcome, <?php echo $this->_tpl_vars['username']; ?>
! (<a href="<?php echo $this->_tpl_vars['base_url']; ?>
">View Site &raquo;</a>)
    </div>
</div>
<div id="menu">
    <ul>
        <li<?php if ($this->_tpl_vars['active_link'] === 'home'): ?> class="active"<?php endif; ?>><a href="<?php echo $this->_tpl_vars['admin_home_url']; ?>
">Home</a></li>
        <li<?php if ($this->_tpl_vars['active_link'] === 'clients'): ?> class="active"<?php endif; ?>><a href="<?php echo $this->_tpl_vars['admin_clients_url']; ?>
">Clients</a></li>
        <li<?php if ($this->_tpl_vars['active_link'] === 'events'): ?> class="active"<?php endif; ?>><a href="<?php echo $this->_tpl_vars['admin_events_url']; ?>
">Events</a></li>
        <li<?php if ($this->_tpl_vars['active_link'] === 'systems'): ?> class="active"<?php endif; ?>><a href="<?php echo $this->_tpl_vars['admin_systems_url']; ?>
">Systems</a></li>
        <li<?php if ($this->_tpl_vars['active_link'] === 'other'): ?> class="active"<?php endif; ?>><a href="<?php echo $this->_tpl_vars['admin_other_url']; ?>
">Other</a></li>
    </ul>
</div>
<hr />
<div id="page">
    <div id="content">
        <div>
            <h1 class="title"><?php echo $this->_tpl_vars['long_title']; ?>
</h1>
<?php $_from = $this->_tpl_vars['admin_panels']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['content']):
?>
<?php if (strstr ( $this->_tpl_vars['content']['contents'] , "<p>" )): ?>
<?php $this->assign('has_paragraph', '1'); ?>
<?php else: ?>
<?php $this->assign('has_paragraph', '0'); ?>
<?php endif; ?>
<?php if (! empty ( $this->_tpl_vars['content']['title'] )): ?>
            <h2><?php echo $this->_tpl_vars['content']['title']; ?>
</h2>
<?php endif; ?>
            <?php if ($this->_tpl_vars['has_paragraph'] !== '1'): ?><p><?php endif; ?><?php echo $this->_tpl_vars['content']['contents']; ?>
<?php if ($this->_tpl_vars['has_paragraph'] !== '1'): ?></p><?php endif; ?>
<?php endforeach; endif; unset($_from); ?>
<?php if ($this->_tpl_vars['admin_login'] === 'true'): ?>
            <form action="<?php echo $this->_tpl_vars['admin_url']; ?>
" method="POST">
            <p>Username: <input type="text" name="username" /></p>
            <p>Password: <input type="password" name="password" /></p>
            </form>
<?php endif; ?>
        </div>
        <div class="twocols">
            <div class="col1">
                <h2 class="title"><?php echo $this->_tpl_vars['admin_left_title']; ?>
</h2>
<?php if (strstr ( $this->_tpl_vars['admin_left_content'] , "<p>" ) === "<p>"): ?>
<?php $this->assign('has_paragraph', '1'); ?>
<?php else: ?>
<?php $this->assign('has_paragraph', '0'); ?>
<?php endif; ?>
                <?php if ($this->_tpl_vars['has_paragraph'] !== '1'): ?><p><?php endif; ?><?php echo $this->_tpl_vars['admin_left_content']; ?>
<?php if ($this->_tpl_vars['has_paragraph'] !== '1'): ?></p><?php endif; ?>
            </div>
            <div class="col2">
                <h2 class="title"><?php echo $this->_tpl_vars['admin_right_title']; ?>
</h2>
<?php if (strstr ( $this->_tpl_vars['admin_right_content'] , "<p>" ) === "<p>"): ?>
<?php $this->assign('has_paragraph', '1'); ?>
<?php else: ?>
<?php $this->assign('has_paragraph', '0'); ?>
<?php endif; ?>
                <?php if ($this->_tpl_vars['has_paragraph'] !== '1'): ?><p><?php endif; ?><?php echo $this->_tpl_vars['admin_right_content']; ?>
<?php if ($this->_tpl_vars['has_paragraph'] !== '1'): ?></p><?php endif; ?>
            </div>
        </div>
    </div>
    <div id="sidebar">
        <ul>
<?php $_from = $this->_tpl_vars['admin_modules']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['content']):
?>
<?php if (strstr ( $this->_tpl_vars['content'] , "<p>" )): ?>
<?php $this->assign('has_paragraph', '1'); ?>
<?php else: ?>
<?php $this->assign('has_paragraph', '0'); ?>
<?php endif; ?>
            <?php if ($this->_tpl_vars['has_paragraph'] !== '1'): ?><p><?php endif; ?><?php echo $this->_tpl_vars['content']; ?>
<?php if ($this->_tpl_vars['has_paragraph'] !== '1'): ?></p><?php endif; ?>
<?php endforeach; endif; unset($_from); ?>
        </ul>
    </div>
    <div style="clear: both;">&nbsp;</div>
</div>
<hr />
<div id="footer">
    <p id="legal">Powered by <a href="http://www.mukei.org/" target="_blank">Mukei v<?php echo $this->_tpl_vars['mukei_version']; ?>
</a>.
            All Rights Reserved | Designed by <a href="http://www.freecsstemplates.org/" target="_blank">Free CSS Templates</a></p>
</div>
</body>
</html>